insert a new node at the beginning of singly linked list